package com.woniuxy.daos;

import com.woniuxy.entitys.TbFix;
import com.woniuxy.entitys.TbFixExample;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbFixDao {
    long countByExample(TbFixExample example);

    int deleteByExample(TbFixExample example);

    int deleteByPrimaryKey(Integer fid);

    int insert(TbFix record);

    int insertSelective(TbFix record);

    List<TbFix> selectByExample(TbFixExample example);

    TbFix selectByPrimaryKey(Integer fid);

    int updateByExampleSelective(@Param("record") TbFix record, @Param("example") TbFixExample example);

    int updateByExample(@Param("record") TbFix record, @Param("example") TbFixExample example);

    int updateByPrimaryKeySelective(TbFix record);

    int updateByPrimaryKey(TbFix record);

    List<TbFix> selectFixList(@Param("hid") Integer hid,@Param("did") Integer did,@Param("uid") Integer uid,@Param("softdel") Integer softdel);

    List<TbFix> selectFixListWithTime(@Param("hid") Integer hid,@Param("did") Integer did,@Param("uid") Integer uid,@Param("softdel") Integer softdel,@Param("beginTime") Date beginTime,@Param("endTime") Date endTime);

    TbFix selFixDetailByFid(@Param("fid") Integer fid);

    TbFix selByFid(@Param("fid") Integer fid);
}